package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.JiajiaOrderTime;
import com.ruoyi.system.domain.JiajiaWorkerTimeXxConfig;

import java.util.List;

/**
 * 订单预约时间Mapper接口
 *
 * @author mrwang
 * @date 2024-04-24
 */
public interface JiajiaOrderTimeMapper
{
    /**
     * 查询订单
     *
     * @param id 订单主键
     * @return 订单
     */
    public JiajiaOrderTime selectJiajiaOrderTimeById(Long id);

    /**
     * 查询订单列表
     *
     * @param jiajiaOrderTime 订单预约时间
     * @return 订单预约时间集合
     */
    public List<JiajiaOrderTime> selectJiajiaOrderTimeList(JiajiaOrderTime jiajiaOrderTime);

    /**
     * 新增订单
     *
     * @param jiajiaOrderTime 订单
     * @return 结果
     */
    public int insertJiajiaOrderTime(JiajiaOrderTime jiajiaOrderTime);

    /**
     * 修改订单
     *
     * @param jiajiaOrderTime 订单
     * @return 结果
     */
    public int updateJiajiaOrderTime(JiajiaOrderTime jiajiaOrderTime);

    /**
     * 删除订单
     *
     * @param id 订单主键
     * @return 结果
     */
    public int deleteJiajiaOrderTimeById(Long id);

    /**
     * 批量删除订单
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteJiajiaOrderTimeByIds(String[] ids);

    List<JiajiaOrderTime> selectJiajiaTimeList(JiajiaWorkerTimeXxConfig timeXxConfig);

    List<JiajiaOrderTime> selectList(String orderSn);
}
